package com.woniuxy.consumerfeign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(scanBasePackages = "com.woniuxy")
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.woniuxy.commons.service")
@EnableCircuitBreaker
public class ConsumerFeignApplication {

  public static void main(String[] args) {
    SpringApplication.run(ConsumerFeignApplication.class, args);
  }
}
